package com.china.lottery.listener.exception;


import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;

import com.china.lottery.listener.dao.entity.LBetTicket;

public interface ComprehensiveDao extends  CrudRepository<LBetTicket,Integer> {
	
    
    @Modifying
    @Transactional
    @Query("update LBetTicket  set cmdStatus=?1 where ticketId=?2")
    int updateChannel(String a,String b);
}
